.cast {
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #f9f9f9;

  .head {
    width: 100%;
    height: 8%;
    background-color: #ffffff;
    text-align: center;
    font-size: 1rem;
    line-height: 49px;
  }

  .casting {
    width: 100%;
    background-color: #f9f9f9;

    .casting-head {
      width: 100%;
      height:10px;
      display: flex;
      justify-content: space-between;
      background-color: #f9f9f9;

      div {
        width: 50%;
        position: relative;
        font-size: 1rem;

        .p1 {
          position: absolute;
          top: 25%;
          left: 10%;
        }

        .p2 {
          position: absolute;
          top: 25%;
          left: 70%;
          color: #999999;

          &:hover {
            color: #333333;
          }
        }
      }
    }

    .casting-main {
      width: 100%;
      height: 70%;
      display: flex;
      background-color: #ffffff;
      margin: 5% auto;

      .img {
        width: 30%;
        img {
          width: 80%;
          height: 80%;
          margin: 10%;
        }
      }

      .content {
        width: 70%;
        height: 100%;
        position: relative;

        .content-box {
          width: 80%;
          height: 80%;
          margin: 5% 0;

          .p1 {
            width: 100%;
            height: 30%;
            font-size: 1.15rem;
            text-align: left;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            margin: 0;
          }

          .p2 {
            width: 100%;
            height: 25%;
            font-size: 0.7rem;
            color: #999999;
          }

          .p3 {
            width: 100%;
            height: 30%;
            font-size: 0.7rem;
            margin: 0;
            color: #999999;
          }
        }

        .btn {
          width: 35%;
          height: 30%;
          font-size: 0.8rem;
          position: absolute;
          right: 1.5rem;
          bottom: 1.3rem;
        }
      }
    }

    .casting-main:first-child {
      margin-top: 0; /* 取消第一个盒子的上边距 */
    }

    .casting-main:last-child {
      margin-bottom: 0; /* 取消最后一个盒子的下边距 */
    }

    .showAll {
      width: 100%;
      height: 15%;
      text-align: center;
      color: #999999;
    }
  }
}
